package cn.lisens.modules.file.model;

import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;

import cn.lisens.common.entity.BaseEntity;

public class FileUpload extends BaseEntity<FileUpload> {
	
	private static final long serialVersionUID = 1L;
	
    private FileEntity fileEntity;
    public static final String TYPE_FILE = "file";
    
    private String fileName;
    private String bizKey;
    private String bizType;
    public static final String TYPE_MEDIA = "media";
    public static final String TYPE_IMAGE = "image";
    private String fileType;
    private Integer fileSort;
    public FileUpload(final FileEntity fileEntity) {
        this.fileEntity = fileEntity;
    }
    
}
